import Mock from 'mockjs'

Mock.mock('/admin/login', {
    code: 200,
    data: {
        tokenHead: 'panhongxi',
        token: '1986'
    }
})

Mock.mock('/admin/info', {
    code: 200,
    data: {
        username: 'admin',
        menus: [],
        roles: ['admin']
    }
})